package com.zkyc.framework.algorithm.bean;

import cn.hutool.extra.tokenizer.TokenizerEngine;
import cn.hutool.extra.tokenizer.TokenizerUtil;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * @author bing.bai
 * @create 2022/5/17
 */
@Component
public class TokenizerEngineFactory {

    @Bean
    public TokenizerEngine engine() {
        TokenizerEngine engine = TokenizerUtil.createEngine();
        return engine;
    }
}
